
@Select("SELECT * FROM t_ordersetting WHERE DATE_FORMAT(orderDate, '%Y-%m') = #{month}")
List<Map<String, Object>> findByMonth(String month);

// 新增: 插入预约设置信息
@Insert("INSERT INTO t_ordersetting (orderDate, number, reservedNumber) VALUES (#{orderDate}, #{number}, #{reservedNumber})")
void insertOrderSetting(String orderDate, int number, int reservedNumber);
